<!DOCTYPE html>
<html>

<head>
    <title>Comment List</title>
    <link rel='stylesheet' href='/stylesheets/style.css' />
</head>

<body>


    <a href="/comment">评论</a>

    <table border="1">
        <tr>
            <td>id</td>
            <td>title</td>
            <td>content</td>
        </tr>

        <% list.forEach(function(item,index){%>

            <tr>
                <td>
                    <%= (index+1) %>
                </td>

                <td>
                    <%- item.title %>
                </td>
                <td>
                    <%- item.content %>
                </td>
            </tr>
            <%})%>


    </table>
</body>

</html>